package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author stone
 * @date 2022/01/06 16:33
 */
@Data
public class User {

        private Integer id;

        private String username;

        private String password;

        private Integer gender;

        private String lastLoginTime;

        private String lastLoginIp;

        private Integer userLevel;

        private String nickname;

        private String mobile;

        private String avatar;

        private String weixinOpenid;

        private String sessionKey;

        private Integer status;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date addTime;

        private Date updateTime;

        private Boolean deleted;

}
